package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import javax.persistence.Column;
import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "t_user")
public class User implements Serializable {

    @Id
    @Column(name = "uid")
    private String uid;

    @Column(name = "user_name")
    private String userName;
    @Column(name = "pass_word")
    private String passWord;
    @Column(name = "gender")
    private Integer gender;
    @Column(name = "avatar")
    private String avatar;
    @Column(name = "email")
    private String email;
    @Column(name = "birthday")
    private Date birthday;
    @Column(name = "mobile")
    private String mobile;
    @Column(name = "valid_code")
    private String validCode;
    @Column(name = "summary")
    private String summary;
    @Column(name = "login_count")
    private int loginCount;
    @Column(name = "last_login_time")
    private Date lastLoginTime;
    @Column(name = "last_login_ip")
    private String lastLoginIp;
    @Column(name = "status")
    private Integer status;
    @Column(name = "create_time")
    private Date createTime;
    @Column(name = "update_time")
    private Date updateTime;
    @Column(name = "nick_name")
    private String nickName;
    @Column(name = "source")
    private String source;
    @Column(name = "uuid")
    private String uuid;
    @Column(name = "qq_number")
    private String qqNumber;
    @Column(name = "we_chat")
    private String weChat;
    @Column(name = "occupation")
    private String occupation;
    @Column(name = "comment_status")
    private Integer commentStatus;
    @Column(name = "ip_source")
    private String ipSource;
    @Column(name = "browser")
    private String browser;
    @Column(name = "os")
    private String os;
    @Column(name = "start_email_notification")
    private Integer startEmailNotification;
    @Column(name = "user_tag")
    private Integer userTag;


}